Gitlab Search User Projects Tool
Search user profiles and active projects on GitLab using a username. Filter API response fields to retrieve specific data efficiently.
Instructions
根据用户名搜索用户信息及其活跃项目。支持字段过滤,提升响应效率。
Input Schema
Name | Required | Description | Default |
---|---|---|---|
fields | No | 需要返回的字段路径数组,支持数组或逗号分隔字符串,用于过滤 API 响应字段。 示例: - ["id", "name", "owner.username"] - "id,name,owner.username" - undefined | |
username | Yes | 用户名 |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"fields": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
],
"description": "需要返回的字段路径数组,支持数组或逗号分隔字符串,用于过滤 API 响应字段。\n示例:\n- [\"id\", \"name\", \"owner.username\"]\n- \"id,name,owner.username\"\n- undefined"
},
"username": {
"description": "用户名",
"type": "string"
}
},
"required": [
"username"
],
"type": "object"
}